import {MyCaptcha} from "@/interfaces/apiResponse.ts";
import {getCaptcha} from "@/apis/captcha.ts";

const captcha = ref<MyCaptcha>();
export default () => {
    const showCaptcha = async () => {
        captcha.value = await getCaptcha();
    }
    return {captcha, showCaptcha}
}
